package com.jdyfy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jdyfy.entity.Role;

import java.util.List;

public interface RoleService extends IService<Role> {

    // 删除角色
    int delById(Long id);

    void setRoleMenu(Long roleId, List<Long> menuIds);

    List<Long> getRoleMenu(Long roleId);
}
